package demo1.config.controller;

import demo1.config.model.Student2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @Author quan
 * @Description 读取yml文件的map集合
 * @Date 2023/7/19 19:02
 */

@Component
public class Demo5_ReadMap {
    @Autowired
    private Student2 student2;
    @PostConstruct
    public void postConstruct(){
        System.out.println(student2);
    }
}
